package cn.youfule.dp.strategy;

public class Test {

	public static void main(String[] args) {
		Cat[] a = {new Cat(5,5),new Cat(3,3),new Cat(1,1)};
		//Dog[] a = new Dog[] {new Dog(2),new Dog(4),new Dog(1)};
		try {
			DataSorter.sort(a);
		} catch (Exception e) {
			e.printStackTrace();
		}
		DataSorter.p(a);
	}

}
 